package com.coincalf.feign.hystrix;

import com.coincalf.dto.TurnoverDataDTO;
import com.coincalf.feign.TradeTurnoverOrderServiceClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author qiang
 */
@Slf4j
@Component
public class TradeTurnoverOrderServiceClientFallback implements TradeTurnoverOrderServiceClient {

    @Override
    public TurnoverDataDTO turnoverData(long marketId) {
        log.warn("微服务调用降级-/trade/order/turnover/{}", marketId);
        return null;
    }

}
